import request from '@/utils/request'

export function getPatients(data) {
  return request({
    url: '/dr/patient/list',
    method: 'post',
    data
  })
}

export function addPatients(data) {
  return request({
    url: '/dr/patient/add',
    method: 'post',
    data
  })
}

export function editPatients(data) {
  return request({
    url: '/dr/patient/edit',
    method: 'post',
    data
  })
}
